import java.util.Scanner;

public class FirstQuestion {
    public static void main(String[] args) {
        Scanner  input = new Scanner(System.in);
        int[][]  students= {{65,98,75},{87,79,65},{97,56,76},{99,87,79},{100,65,86}};
        double sum = 0.0;
        double avg = 0.0;
        double max = 0.0;
        double min = 0.0;
        for (int i = 0; i <students.length ; i++) {

            sum=0;
            avg=0;
            for (int j = 0; j <students[i].length ; j++) {
                System.out.print(students[i][j]+" ");
                sum+=students[i][j];
                if (i==0){
                    max=min=students[i][j];
                }
                if (max<students[i][j]){
                    max=students[i][j];
                }
                if (min>students[i][j]){
                    min=students[i][j];
                }
            }
            avg=sum/3;
            System.out.println("总分为："+sum);
            System.out.println("平均分为："+avg);
            System.out.println("最高分为："+max);
            System.out.println("最低分为："+min);
        }
    }

}
